home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Development / Information / alt-sources-mac-digest-94-01.tx < prev    next >
Internet Message Format  |  1994-06-09  |  19KB

  1. Date: Sat, 29 Jan 1994 14:50:52 -0400
  2. From: dnebing@andy.bgsu.edu (Dave Nebinger)
  3. Subject: alt.sources.mac digest #01-94
  4.  
  5. [This is the digest for the alt.sources.mac group.  I know that
  6.  Sumex has digest #02-94, but I am going to send both to macgifts
  7.  so that it will be widely available. -Dave]
  8.  
  9. alt.sources.mac digest #01-94                      1/7/94
  10.  
  11. Today's Contents:
  12.  
  13.   [!] administrivia
  14.  
  15.   [*] autobin.cpt.hqx
  16.   [*] catsearch.cpt.hqx
  17.   [*] cdef-slider.cpt.hqx
  18.   [*] devils-cubes.cpt.hqx
  19.   [*] final-chance.cpt.hqx
  20.   [*] ghost.cpt.hqx
  21.   [*] hotkeys-1.0.2.cpt.hqx
  22.   [*] jgnehelper.cpt.hqx
  23.   [*] jotto-ii.cpt.hqx
  24.   [*] keycapapp-2.0.cpt.hqx
  25.   [*] mouse-broken.cpt.hqx
  26.   [*] mouse-crooked.cpt.hqx
  27.   [*] mouse-ghost.cpt.hqx
  28.   [*] mouse-gravity.cpt.hqx
  29.   [*] mouse-speedy-1.2.cpt.hqx
  30.   [*] mouse-stoned.cpt.hqx
  31.   [*] shutdownfx.cpt.hqx
  32.   [*] voyeur.cpt.hqx
  33.  
  34.   [#] appstartupscrn
  35.   [#] changesysfont
  36.   [#] changeusername
  37.   [#] convertpcdata
  38.   [#] dbllinklist
  39.   [#] detectdebug
  40.   [#] downarrow
  41.   [#] editinmodeless
  42.   [#] fixbyteorders
  43.   [#] folderflags
  44.   [#] fp2string
  45.   [#] getnetname
  46.   [#] incstacksize
  47.   [#] keydetect
  48.   [#] keyrepeats
  49.   [#] launchnsendaes
  50.   [#] layermgr
  51.   [#] makeratiorgb
  52.   [#] paramstring
  53.   [#] patchdrawmenu
  54.   [#] patchmbdf
  55.   [#] pictpreview
  56.   [#] refnum2fsspec
  57.   [#] resource-io
  58.   [#] scrolldelay
  59.   [#] systemfont
  60.   [#] testshift
  61.   [#] timemgr
  62.   [#] touchfolder
  63.   [#] windinfo
  64.   [#] xpraminfo
  65.   [#] xpraminfo2
  66.  
  67.  
  68.   The alt.sources.mac archive is at ftpbio.bgsu.edu
  69. (129.1.252.66) in the /ftp/pub/alt.sources.mac directory.
  70. Files listed with an [*] before them are in the main
  71. directory.  Files listed with an [#] in front of them
  72. are in the /ftp/pub/alt.sources.mac/00snippet directory.
  73.  
  74.   The alt.sources.mac newsgroup is for the distribution of
  75. sources only.
  76.  
  77. ************************************************************
  78.  
  79. From: dnebing@andy.bgsu.edu (Dave Nebinger)
  80. Subject: Administrivia
  81.  
  82.   Welcome to the alt.sources.mac digest.  Currently, I am
  83. the moderator of the archive.  I thought I would post this
  84. message to show everyone what has been accumulating at the
  85. archive site.
  86.  
  87.   Your contributions are highly recommended and accepted.
  88. If you don't have access to the alt.sources.mac newsgroup,
  89. you can email your contribution to me (dnebing@andy.bgsu.edu)
  90. and I will add it to the archive, or you can upload it to
  91. the /ftp/pub/incoming directory at the archive site.
  92.  
  93.   I would also recommend to those programmers posting
  94. snippets to the comp.sys.mac.* heirarchy to also crosspost
  95. them to the alt.sources.mac group so that I can make sure
  96. that it gets added to the archive.
  97.  
  98.   Thanks for you support, and if you have any questions/
  99. problems/maladjustments, feel free to email me.
  100.  
  101.   Dave Nebinger (dnebing@andy.bgsu.edu)
  102.  
  103. ************************************************************
  104.  
  105. From: mxmora@unix.sri.com (Matt Mora)
  106. Subject: AutoBin
  107.  
  108. Enclosed is AutoBin a drag a drop binhexing program.
  109.  
  110. [archived as /ftp/pub/alt.sources.mac/autobin.cpt.hqx]
  111. ============================================================
  112.  
  113. From: keith@taligent.com (Keith Rollin)
  114. Subject: CatSearch utilities
  115.  
  116. Here are a couple of utilities that make PBCatSearch more useful and easier
  117. to use.
  118. [archived as /ftp/pub/alt.sources.mac/catsearch.cpt.hqx]
  119. ============================================================
  120.  
  121. From: ekstrom@girtab.usc.edu (Harold Verner Ekstrom)
  122. Subject: Slider CDEF
  123.  
  124. SliderCDEF 1.0
  125. ==============
  126.  
  127. SliderCDEF is a control definition function for a
  128. slider with a simple indicator and a track without
  129. arrows on the end and that also displays the slider's
  130. value centered above the indicator outside the
  131. control's rectangle.
  132.  
  133. [archived as /ftp/pub/alt.sources.mac/cdef-slider.cpt.hqx]
  134. ============================================================
  135.  
  136. From: f8dy@netaxs.com (Mark Pilgrim)
  137. Subject: Devil's Cubes 1.0.1 (source code)
  138.  
  139. The Devil's Cubes are a set of four cubes, each painted with four colors
  140. with some colors repeated.  All four cubes are different.  The object of
  141. the game is to rotate the four cubes until the top of each Devil's Cube
  142. is a different color than the top of the other three cubes, and likewise
  143. for the bottom, front, and back of each Devil's Cube.  Sound simple?  Try
  144. it for a few hours.
  145.  
  146. [archived as /ftp/pub/alt.sources.mac/devils-cubes.cpt.hqx]
  147. ============================================================
  148.  
  149. From: f8dy@netaxs.com (Mark Pilgrim)
  150. Subject: Final Chance 1.0 (source code)
  151.  
  152. Final Chance is a combination of fluff and utility.  On one hand, it gives
  153. you a random quote on shutdown, which is pretty useless, really.  On the
  154. other hand, it gives you a final chance to decide if you really want to shut
  155. your Macintosh down, or if you want to exit to the Finder.
  156.  
  157. [archived as /ftp/pub/alt.sources.mac/final-chance.cpt.hqx]
  158. ============================================================
  159.  
  160. From: f8dy@access.netaxs.com (Mark Pilgrim)
  161. Subject: [0/10] Ghost 1.0 (word game, C 5 or 6)
  162.  
  163. Ghost is a classic word-building game for two or more players.  Players take
  164. turns each adding a letter to build a word, and whoever finishes the word
  165. loses the round.  Lose five rounds, and you become a "ghost" and are out of
  166. the game!  Up to five human players can compete against up to five computer
  167. players at a variety of skill levels.
  168.  
  169. [archived as /ftp/pub/alt.sources.mac/ghost.cpt.hqx]
  170. ============================================================
  171.  
  172. From: rmah@panix.com (Robert S. mah)
  173. Subject: HotKeys1.0.2 (Think C)
  174.  
  175. I was writing an extension, and I needed hot key support.
  176. So here it is.  Version 1.0.2, shiny and new.  Ready and rearin' to go!
  177.  
  178. [archived as /ftp/pub/alt.sources.mac/hotkeys-1.0.2.cpt.hqx]
  179. ============================================================
  180.  
  181. From: gurgle@netcom.com (Pete Gontier)
  182. Subject: jGNE Helper -- event filter example
  183.  
  184. This is "jGNE Helper", a monthly posting to alt.sources.mac.  It
  185. attempts to provide an example for INIT programmers interested in
  186. filtering events before they are handed to applications calling
  187. GetNextEvent (which is called by WaitNextEvent).
  188.  
  189. [archived as /ftp/pub/alt.sources.mac/jgnehelper.cpt.hqx]
  190. ============================================================
  191.  
  192. From: f8dy@access (Mark Pilgrim)
  193. Subject: Jotto ][ 1.0 (word game, THINK C 6)
  194.  
  195. Jotto ][ is a simple word game based on logic and frustration.  The computer
  196. will pick a 5- or 6-letter word from a 2000+ word database, and you have 15
  197. tries to guess it.  You will get feedback on how many letters in your guess
  198. are in the actual word, but beware: each guess must be a valid word, or you
  199. will or you will not get any feedback about it at all.
  200.  
  201. [archived as /ftp/pub/alt.sources.mac/jotto-ii.cpt.hqx]
  202. ============================================================
  203.  
  204. From: mxmora@unix.sri.com (Matt Mora)
  205. Subject: KeyCapApp 2.0
  206.  
  207. Enclosed is KeyCapApp 2.0. I modified the DTS verison (1.2)
  208. and added color and modifer support.
  209.  
  210. [archived as /ftp/pub/alt.sources.mac/keycapapp-2.0.cpt.hqx]
  211. ============================================================
  212.  
  213. From: f8dy@netaxs.com (Mark Pilgrim)
  214. Subject: Mousebroken 1.0.1 (source code)
  215.  
  216. Mousebroken is a control panel which will give you greater control over your
  217. mouse (or less control, depending on how you look at it).  It comes with 13
  218. mouse modules, each designed to alter your mouse's behavior in a different
  219. way.  New mouse modules can easily be designed and added to Mousebroken.  The
  220. mouse modules in this archive are public domain; feel free to design your own!
  221.  
  222. [archived as /ftp/pub/alt.sources.mac/mouse-broken.cpt.hqx]
  223. ============================================================
  224.  
  225. From: f8dy@netaxs.netaxs.com (Mark Pilgrim)
  226. Subject: Crooked Mouse 1.0 (source code)
  227.  
  228. Crooked Mouse is a fun little INIT which will cause your mouse to move
  229. at an angle 45 degrees counterclockwise from the angle you moved it.
  230. This INIT is free and is distributed under the GNU General Public License;
  231. this archive contains complete THINK C 6.0.1 source code and project files
  232. for the INIT.  If you do not have FTP access, e-mail the author for a copy of
  233. the INIT, the source code, or a list of other programs by the same author.
  234. The address is f8dy@netaxs.com.
  235.  
  236. [archived as /ftp/pub/alt.sources.mac/mouse-crooked.cpt.hqx]
  237. ============================================================
  238.  
  239. From: f8dy@netaxs.com (Mark Pilgrim)
  240. Subject: Ghost Mouse 1.1 (source code)
  241.  
  242. Ghost Mouse is a fun little INIT which will cause your mouse to disappear
  243. if you stop moving it.  Due to numerous requests from users of version 1.0,
  244. the mouse can stay stationery for about 2 seconds before it disappears.
  245. This INIT is free and is distributed under the GNU General Public License;
  246. this archive contains complete THINK C 6.0.1 source code and project files
  247. for the INIT.  If you do not have FTP access, e-mail the author for a copy of
  248. the INIT, the source code, or a list of other programs by the same author.
  249. The address is f8dy@netaxs.com.
  250.  
  251. [archived as /ftp/pub/alt.sources.mac/mouse-ghost.cpt.hqx]
  252. ============================================================
  253.  
  254. From: f8dy@netaxs.com (Mark Pilgrim)
  255. Subject: Gravity Mouse 1.1 (source code)
  256.  
  257. Gravity Mouse will cause your mouse to be occasionally overcome by gravity.
  258. This INIT is free and is distributed under the GNU General Public License;
  259. this archive contains complete THINK C 6.0.1 source code and project files
  260. for the INIT.  If you do not have FTP access, e-mail the author for a copy
  261. of the INIT, the source code, or a list of other programs by the same author.
  262. The address is f8dy@netaxs.com.
  263.  
  264. [archived as /ftp/pub/alt.sources.mac/mouse-gravity.cpt.hqx]
  265. ============================================================
  266.  
  267. From: f8dy@access.netaxs.com (Mark Pilgrim)
  268. Subject: [0/1] Speedy Mouse 1.2 (INIT, THINK C 5 or 6)
  269.  
  270. Speedy Mouse is a fun little INIT which will cause your mouse to move
  271. twice as fast as it normally does.  This INIT is free and is distributed under
  272. the GNU General Public License; this archive contains complete THINK C 6.0.1
  273. source code and project files for the INIT.  If you do not have FTP access,
  274. e-mail the author for a copy of the INIT, the source code, or a list of other
  275. programs by the same author.  The address is f8dy@netaxs.com.
  276.  
  277. [archived as /ftp/pub/alt.sources.mac/mouse-speedy-1.2.cpt.hqx]
  278. ============================================================
  279.  
  280. From: f8dy@netaxs.com (Mark Pilgrim)
  281. Subject: Stoned Mouse 1.0 (source code)
  282.  
  283. Stoned Mouse is a fun little INIT which will cause your mouse to move
  284. discretely instead of continuously, which I find breathtakingly disconcerting.
  285. This INIT is free and is distributed under the GNU General Public License;
  286. this archive contains complete THINK C 6.0.1 source code and project files
  287. for the INIT.  If you do not have FTP access, e-mail the author for a copy of
  288. the INIT, the source code, or a list of other programs by the same author.
  289. The address is f8dy@netaxs.com.
  290.  
  291. [archived as /ftp/pub/alt.sources.mac/mouse-stoned.cpt.hqx]
  292. ============================================================
  293.  
  294. From: f8dy@access.netaxs.com (Mark Pilgrim)
  295. Subject: Shutdown FX (INIT, THINK C 5 or 6)
  296.  
  297. Shutdown FX will cause your Macintosh to clear the screen with a cool
  298. graphic effect every time it shuts down.  This INIT is free and is distributed
  299. under the GNU General Public License; this archive contains complete THINK C
  300. source code and project files for the INIT.  If you do not have FTP access,
  301. e-mail the author for a copy of the INIT, the source code, or a list of other
  302. programs by the same author.  The address is f8dy@netaxs.com.
  303.  
  304. [archived as /ftp/pub/alt.sources.mac/shutdownfx.cpt.hqx]
  305. ============================================================
  306.  
  307. From: f8dy@netaxs.netaxs.com (Mark Pilgrim)
  308. Subject: Voyeur 1.0 (source code)
  309.  
  310. Voyeur 1.0 is a no-frills file viewer.  It allows you to view raw data (in
  311. hexadecimal and ascii format) of either the data or resource fork of a
  312. file.  You can't edit any of the information, but you can change the
  313. type/creator information or modify the length (EOF) of either fork.
  314.  
  315. [archived as /ftp/pub/alt.sources.mac/voyeur.cpt.hqx]
  316.  
  317. ************************************************************
  318.  
  319. appstartupscrn  Display application startup splash screen
  320.   Erik Schwiebert (evs1@cornell.edu)
  321.   Pascal code which demonstrates how to display a splash
  322.   screen while the application is starting up and initializing.
  323.  
  324. ============================================================
  325. changesysfont   Change the default system font and size.
  326.   Leonard Rosenthol (leonardr@netcom.com)
  327.   C functions for changing the system font and size.
  328.  
  329. ============================================================
  330. changeusername  Change the user name
  331.   Rich Kubota (rkubota@applelink.apple.com)
  332.   C functions illustrating how to change the user name for
  333.   the system and make it stick.
  334.  
  335. ============================================================
  336. convertpcdata   Converting from little-endian to big-endian
  337.   Stephen Roderick (roderis@kira.csos.orst.edu)
  338.   C function to convert pc doubles to Mac doubles.
  339.  
  340. ============================================================
  341. dbllinklist     Doubly Linked List Code
  342.   Peter Lewis (peter@ncrpda.curtin.edu.au)
  343.   Pascal code that implements a doubly linked list.
  344.  
  345. ============================================================
  346. detectdebug     Detect the availability of debuggers
  347.   Dawson Dean (dawson@cs.cornell.edu)
  348.   Pascal procedure for checking for a debugger.
  349.  
  350. ============================================================
  351. downarrow       Drawing a popup's down arrow
  352.   Leonard Rosenthol (leonardr@netcom.com)
  353.   C snippet showing how to draw the down arrow for a custom
  354.   popup menu.
  355.  
  356. ============================================================
  357. editinmodeless  Implementing edit functions in a modeless dlg
  358.   Andrew McClure (andrew@cs.uwa.oz.au)
  359.   C function for implementing the standard edit functions in a
  360.   modeless dialog.
  361.  
  362. ============================================================
  363. fixbyteorders   Conversion between big and little endian
  364.   Danny Thomas (D.Thomas@vthrc.uq.edu.au)
  365.   C functions to convert little-endian numbers to the Mac's
  366.   big-endian numbers.
  367.  
  368. ============================================================
  369. folderflags     Setting the finder flags for a folder
  370.   GRAFF (pier@rz.rwth-aachen.de)
  371.   C function for changing the finder flags for a folder.
  372.  
  373. ============================================================
  374. fp2string       Conversion between floating pt. and strings
  375.   Herb Hrowal (h_hrowal@qm.symantec.com)
  376.   C functions to convert between floating point numbers and
  377.   strings.
  378.  
  379. ============================================================
  380. getnetname      Getting Network Username
  381.   Peter Lewis (peter@ncrpda.curtin.edu.au)
  382.   Pascal function for returning the name from the network
  383.   control panel.
  384.  
  385. ============================================================
  386. incstacksize    Increment the default stack size for an app
  387.   Grobbins (grobbins@apple.com)
  388.   C code showing how to increase an applications stack size.
  389.  
  390. ============================================================
  391. keydetect       Detecting cmd & option keys at startup
  392.   Mike Russel (mgr@aggroup.aggroup.com)
  393.   C functions for checking if the command and option keys
  394.   are depressed.
  395.  
  396. ============================================================
  397. keyrepeats      Changing the keyboard repeat rate
  398.   George Loo Chee Khin (gloo@iss.nus.sg)
  399.   C code showing how to change the keyboard repeat rate using
  400.   lo-mem globals.
  401.  
  402. ============================================================
  403. launchnsendaes  Launch an app for sending apple events
  404.   Chuck Shotton (cshotton@oac.hsc.uth.tmc.edu)
  405.   C function to launch an application keeping the necessary
  406.   information to send the app some apple events.
  407.  
  408. ============================================================
  409. layermgr        Undocumented Layer Manager calls
  410.   Hugues Marty (hugues@isoftfr.isoft.fr)
  411.   C header file and sample code for using the undocumented
  412.   Layer Manager.
  413.  
  414. ============================================================
  415. makeratiorgb    MakeRatioRGB
  416.   Stefan Arentz (arentz@batcave.knoware.nl)
  417.   Think C translation of assembly code from the Developer CD
  418.   for MakeRatioRGB.
  419.  
  420. ============================================================
  421. paramstring     String expansion like ParamText
  422.   John Werner (werner@soe.berkely.edu)
  423.   C function for doing pascal string expansions similar to
  424.   the ParamText trap.
  425.  
  426. ============================================================
  427. patchmbdf       Patching GetResource
  428.   Keith Rollin (keith@taligent.com)
  429.   C function to patch GetResource.
  430.  
  431. ============================================================
  432. patchdrawmenu   Patching DrawMenuBar
  433.   Phil Kearney (phil@intercon.com)
  434.   C function to patch DrawMenuBar
  435.  
  436. ============================================================
  437. pictpreview     Using Quicktime's Preview model
  438.   Mark Sproul (sproul@sproul.sproul.com)
  439.   C function to make a preview resource picture which Quicktime
  440.   will use with the StandardOpenPreview call.
  441.  
  442. ============================================================
  443. refnum2fsspec   RefNum to FSSpec conversion
  444.   Pete Resnick (resnick@cogsci.uiuc.edu)
  445.   C code to convert a file's reference number to an
  446.   FSSpec record.
  447.  
  448. ============================================================
  449. resource-io     Reading and writing 'STR ' resources
  450.   Andrew McClure (andrew@cs.uwa.oz.au)
  451.   C functions for reading and writing preferences in
  452.   'STR ' resources.
  453.  
  454. ============================================================
  455. scrolldelay     Delaying the scroll bar
  456.   Lawrence D'Oliveiro (ldo@waikato.ac.nz)
  457.   Using _UserDelay to delay the scrolling.
  458.  
  459. ============================================================
  460. systemfont      Get and set the default system font and size
  461.   John Werner (werner@soe.berkely.edu)
  462.   C functions for getting and setting the system font and
  463.   size using the lo-mem globals.
  464.  
  465. ============================================================
  466. testshift       TestShift
  467.   Ramon M. Felciano (felciano@camis.stanford.edu)
  468.   Inline assembly routine to check for the shift key being
  469.   down or not.
  470.  
  471. ============================================================
  472. timemgr         Time Manager Example
  473.   Kraig Eno (kraig@u.washington.edu)
  474.   C source which implements some Time Mgr routines.
  475.  
  476. ============================================================
  477. touchfolder     TouchFolder
  478.   Peter Lewis (peter@ncrpda.curtin.edu.au)
  479.   Pascal procedure to force the Finder to update a folder.
  480.  
  481. ============================================================
  482. windinfo        Find info for a given window
  483.   Ari l Halberstadt (ari@world.std.com)
  484.   C functions to get some rects from a window, including
  485.   the content rect and the drag rect.
  486.  
  487. ============================================================
  488. xpraminfo       PRAM accessing
  489.   Mark Pilgrim (f8dy@access.netaxs.com)
  490.   C source for accessing the parameter ram.
  491.  
  492. ============================================================
  493. xpraminfo2      PRAM accessing
  494.   Lawrence D'Oliveiro (ldo@waikato.ac.nz)
  495.   Modula-2 source for accessing the parameter ram.  Provides a better
  496.   interface to access the PRAM.
  497.  
  498.  
  499.  
  500. ============================================================
  501. Dave Nebinger                    dnebing@andy.bgsu.edu
  502. Network Manager, Biology Dept.   dnebing@opie.bgsu.edu
  503. Bowling Green State University   dnebing@bgsuopie (bitnet)
  504. Bowling Green, OH 43403          #include <std_disclaimer.h>
  505.  
  506.             *THE* alt.sources.mac supporter!
  507.  
  508.  
  509.  
  510.